﻿using EFModel;
using IServices;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Y2.Filters;

namespace Y2.Controllers
{
    [LoginFilter]
    public class human_fileSeController : Controller
    {
        private readonly Ihuman_file he;

        public human_fileSeController(Ihuman_file he)
        {
            this.he = he;
        }
        [TypeFilter(typeof(TestActionFilter))]
        public IActionResult human_fileSe()
        {
            return View();
        }

        public IActionResult human_fileSeUpdate(int? id)
        {
            ViewBag.huf_id = id;
            return View();
        } 
        //人力资源通过修改
        public async Task<int> UpdateSe(human_file _File)
        {
            return await he.UpdateSe(_File);
        }
    }
}
